﻿/// <reference path="Page.generated.js" />
// Silverlight user code for Page.xaml

Custom.Page.prototype.xamlInitialize = function() {
	Custom.Page.callBaseMethod(this,'xamlInitialize');
	this.initializeComponent(this.get_element());
	
	// Hookup event handlers
	//$xamlAddHandlers(this._Ctrl_Name_, {"_Event_Name_" : this._Handler_Name_}, this);
}
	
//User routines such as event handlers can be added using the pattern below:
//
// Custom.Page.prototype._Handler_Name_ = function(sender, e) {
//  	var x = this._Ctrl_Name_;
//      x.play();
// }

Custom.Page.registerClass("Custom.Page", Sys.Preview.UI.Xaml.Control);

